package com.station.search.domain.vo;

import com.fasterxml.jackson.annotation.JsonProperty;
import com.station.search.domain.pojo.BaseField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotBlank;
import java.util.List;

/**
 * @author: JT
 * @date: 2021/8/31
 * @Title:  台站巡检记录 - 数据库实体
 */
@Setter
@Getter
@ApiModel("台站巡检记录模型")
public class StationCheckRecordVO {

    @ApiModelProperty(value = "巡检记录ID", required = true)
    private String id;
    /** 台站编号 */
    @ApiModelProperty(value = "台站号", required = true)
    @NotBlank(message = "台站号不能为空")
    private String stationCode ;
    /** 台站编号 */
    @ApiModelProperty(value = "台站名", required = true)
    @NotBlank(message = "台站名不能为空")
    private String stationName;
    /** 巡检时间 */
    @ApiModelProperty(value = "巡检时间", required = true)
    @NotBlank(message = "巡检时间不能为空")
    private String checkDate ;
    /** 巡检记录 */
    @JsonProperty(value = "checkContent")
    @ApiModelProperty(value = "巡检记录", required = true)
    @NotBlank(message = "巡检记录不能为空")
    private String checkRecord ;
    /** 巡检人员 */
    @ApiModelProperty(value = "巡检人员", required = true)
    @NotBlank(message = "巡检人员不能为空")
    private List<BaseField> checkPeople;
    /** 巡检公司 */
    @ApiModelProperty(value = "巡检人员所属公司", required = true)
    @NotBlank(message = "巡检人员所属公司不能为空")
    private String checkCompany;
}
